package com.home.school.config.exception;


import com.home.school.model.ResultCode;

public class AppException extends RuntimeException {

    private String message;

    public AppException() {
        super();
    }

    public AppException(String message) {
        super(message);
        this.message = message;
    }

    public AppException(Throwable cause) {
        super(cause);
        this.message = ResultCode.ERROR.name();
    }

}
